#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

string triangleType(vector<int>& nums) {
    sort(nums.begin(), nums.end());
    if(nums[0] + nums[1] <= nums[2]) return "none";
    else if (nums[0] == nums[1] && nums[1] == nums[2]) return "equilateral";
    else if (nums[0] == nums[1] || nums[1] == nums[2] || nums[0] == nums[2]) return "isosceles";
    else if (nums[0] + nums[1] > nums[2]) return "scalene";
}

int main() {
    vector<int> nums{8, 4, 4};
    cout << triangleType(nums);
}